package com.badu.app.domain;

import java.io.Serializable;

import java.util.Date;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.annotations.Version;
import com.baomidou.mybatisplus.enums.IdType;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author astupidcoder123
 * @since 2021-01-14
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("app_coupon_receive_record")
public class AppCouponReceiveRecord extends Model<AppCouponReceiveRecord> {

    private static final long serialVersionUID = 1L;
    @TableId(type = IdType.UUID)
    private String id;
    private String createUser;
    private String updareUser;
    private Date createDate;
    private Date updateDate;
    private String couponId;
    private Integer isUse;
    private String openId;


    @Override
    protected Serializable pkVal() {
        return this.id;
    }

}
